package com.zhihuishu.treenity.dto;

import java.io.Serializable;

/**
 * 图片裁剪区域的自适应比例
 * @author JinXing
 * @date 2016-1-11 18:44
 */


@SuppressWarnings("serial")
public class ImageCutDto implements Serializable{

    private Double cutWidth;//裁剪工具显示的宽度
    private Double cutHeight;//裁剪工具显示的高度
    private Boolean flag;//true:需要压缩  false:不需要压缩
     
	public Double getCutWidth() {
		return cutWidth;
	}
	public void setCutWidth(Double cutWidth) {
		this.cutWidth = cutWidth;
	}
	public Double getCutHeight() {
		return cutHeight;
	}
	public void setCutHeight(Double cutHeight) {
		this.cutHeight = cutHeight;
	}
	public Boolean getFlag() {
		return flag;
	}
	public void setFlag(Boolean flag) {
		this.flag = flag;
	}
	public ImageCutDto(Double cutWidth, Double cutHeight, Boolean flag) {
		super();
		this.cutWidth = cutWidth;
		this.cutHeight = cutHeight;
		this.flag = flag;
	}
	public ImageCutDto() {
		super();
	}
	
	@Override
	public String toString() {
		return "ImageCutDto [cutWidth=" + cutWidth + ", cutHeight=" + cutHeight + ", flag=" + flag + ", toString()="
				+ super.toString() + "]";
	}
   
	
}
